package com.example.work;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.stereotype.Component;

@Component
public class Work {
    @RabbitHandler
    public void receivel(String message){
        System.out.println("Work.receivel");
        System.out.println("得到消息:"+message);
    }
}
